<template>
  <div>
    <a class="gb-display-block" :disabled="row.analysisStatus !== 'COMPLETED'"  @click="handlePreview">{{ text }}</a>
  </div>
</template>
<script>
export default {
  props: {
    text: { type: [String] },
    url: { type: [String] },
    isDisabled: { type: [Boolean] },
    row: { type: [Object] },
    displayType: { type: [String], default: 'BUTTON' },
  },
  data() {
    return {
      loading: false,
    }
  },
  methods: {
    handlePreview() {
      // todo
    },
  }
}
</script>
